package com.wodsy.phoenix.dataobject.shopc.model;

// Generated 2015-3-9 17:51:05 by Hibernate Tools 3.4.0.CR1

import com.wodsy.phoenix.dataobject.base.PhoenixObject;
import com.wodsy.phoenix.dataobject.base.PhoenixRequest;
import com.wodsy.phoenix.dataobject.base.PhoenixResponse;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * TbShopkeeperAuthInfo generated by hbm2java
 */
@Entity
@Table(name = "tb_shopkeeper_auth_info", catalog = "shopc")
public class ShopkeeperAuthInfo extends PhoenixObject implements Serializable,PhoenixRequest,PhoenixResponse {

	private int shopId;
	private int userId;
	private String realName;
	private String identity;
	private String address;
	private Integer provinceId;
	private Integer cityId;
	private Integer districtId;
	private String addressDetail;
	private String cellphone;
	private Integer qq;
	private String weChat;
	private String email;
	private Date createTime;
	private Date updateTime;
	private byte auth;

	public ShopkeeperAuthInfo() {
	}

	public ShopkeeperAuthInfo(int shopId, int userId, String realName, String identity, String address,
			Integer provinceId, Integer cityId, Integer districtId, String addressDetail, String cellphone, Integer qq,
			String weChat, String email, Date createTime, Date updateTime, byte auth) {
		this.shopId = shopId;
		this.userId = userId;
		this.realName = realName;
		this.identity = identity;
		this.address = address;
		this.provinceId = provinceId;
		this.cityId = cityId;
		this.districtId = districtId;
		this.addressDetail = addressDetail;
		this.cellphone = cellphone;
		this.qq = qq;
		this.weChat = weChat;
		this.email = email;
		this.createTime = createTime;
		this.updateTime = updateTime;
		this.auth = auth;
	}

	@Id
	@Column(name = "shop_id", unique = true, nullable = false)
	public int getShopId() {
		return this.shopId;
	}

	public void setShopId(int shopId) {
		this.shopId = shopId;
	}

	@Column(name = "user_id", nullable = false)
	public int getUserId() {
		return this.userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	@Column(name = "real_name", nullable = false, length = 48)
	public String getRealName() {
		return this.realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	@Column(name = "identity", nullable = false, length = 24)
	public String getIdentity() {
		return this.identity;
	}

	public void setIdentity(String identity) {
		this.identity = identity;
	}

	@Column(name = "address", nullable = false, length = 56)
	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "province_id")
	public Integer getProvinceId() {
		return this.provinceId;
	}

	public void setProvinceId(Integer provinceId) {
		this.provinceId = provinceId;
	}

	@Column(name = "city_id")
	public Integer getCityId() {
		return this.cityId;
	}

	public void setCityId(Integer cityId) {
		this.cityId = cityId;
	}

	@Column(name = "district_id")
	public Integer getDistrictId() {
		return this.districtId;
	}

	public void setDistrictId(Integer districtId) {
		this.districtId = districtId;
	}

	@Column(name = "address_detail", nullable = false, length = 100)
	public String getAddressDetail() {
		return this.addressDetail;
	}

	public void setAddressDetail(String addressDetail) {
		this.addressDetail = addressDetail;
	}

	@Column(name = "cellphone", nullable = false, length = 16)
	public String getCellphone() {
		return this.cellphone;
	}

	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}

	@Column(name = "qq")
	public Integer getQq() {
		return this.qq;
	}

	public void setQq(Integer qq) {
		this.qq = qq;
	}

	@Column(name = "we_chat")
	public String getWeChat() {
		return weChat;
	}

	public void setWeChat(String weChat) {
		this.weChat = weChat;
	}

	@Column(name = "email")
	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "create_time", nullable = false, length = 19)
	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "update_time", length = 19)
	public Date getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Column(name = "auth")
	public byte getAuth() {
		return this.auth;
	}

	public void setAuth(byte auth) {
		this.auth = auth;
	}

}
